<template>
  <div>
    <h1>Foo Page</h1>
    <el-input v-model="name" placeholder="请输入内容" />
    <el-button type="primary" @click="handleClick">主要按钮</el-button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      name: 'Foo'
    }
  },
  methods: {
    handleClick() {
      alert('测试ztd')

    }
  }
}
</script>

<style scoped>
h1 {
  color: blue
}
</style>
